# This file is part of BlackArch Linux ( https://www.blackarch.org/ ).
# See COPYING for license details.

pkgname=python2-ctags
pkgver=0.1
pkgrel=3
pkgdesc="Python ctag bindings"
arch=('any')
url='https://github.com/paraxor/python-ctags'
license=('LGPL')
depends=('python2' 'python2-setuptools')
source=('git+https://github.com/paraxor/python-ctags')
sha512sums=('SKIP')

build() {
  cd "python-ctags"

  python2 setup.py build
}

package() {
  cd "python-ctags"

  python2 setup.py install --prefix=/usr --root="$pkgdir" --optimize=1 \
    --skip-build
}

